package com.example.easycharge.errorHandler;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/*
    错误信息类
 */
@Data
public class ErrorResponse {
    @Schema(name = "错误码")
    @JsonProperty("error_code")
    private int errorCode;
    @Schema(name = "错误详细信息")
    @JsonProperty("error_message")
    private String errorMessage;
}
